package com.example.second.observer.classes;

import android.util.Log;

import java.util.Observable;
import java.util.Observer;

/**
 * @ClassName: SystemClient$
 * @Description: java类作用描述
 * @Author: xinya
 * @CreateDate: 2020/12/8$ 14:21$
 * @UpdateRemark: 更新内容
 * @Version: 1.0
 */
public class SystemClient implements Observer {

    private static final String TAG = "SystemClient";

    @Override
    public void update(Observable o, Object arg) {
        if (arg instanceof String) {
            Log.d(TAG, "update: " + arg);
        }
    }
}
